// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, deleteRequest, importRequest, getRequestWithNoToken } from '@/libs/axios';

// 获取IP细分品类数据 多条件
export const getIpSubTypeList = (params) => {
    return getRequest('/ipSubType/getByCondition', params)
}
// 获取全部IP细分品类数据
export const getAllIpSubType = (params) => {
    return getRequest('/ipSubType/findAll', params)
}
// 添加IP细分品类
export const addIpSubType = (params) => {
    return postRequest('/ipSubType/add', params)
}
// 编辑IP细分品类
export const editIpSubType = (params) => {
    return postRequest('/ipSubType/edit', params)
}
// 删除IP细分品类
export const deleteIpSubType = (ids, params) => {
    return deleteRequest(`/ipSubType/delByIds/${ids}`, params)
}
